﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCCommon
{
    public static class MongoDBDateTime
    {

        public static DateTime GetUtc(DateTime dateTime)
        {
            return DateTime.SpecifyKind(dateTime, DateTimeKind.Utc);
        }

        public static DateTime UtcNow
        {
            get
            { 
               return   DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
            }
        }
    }
}
